package com.raincici.springcloud.service;


import org.springframework.stereotype.Component;

@Component
public class OrderHystrixFallbackService implements OrderHystrixService{
    @Override
    public String paymentOK(Integer id) {
        return "OK降级,8001 is dead";
    }

    @Override
    public String paymentTimeOut(Integer id) {
        return "TimeOut,8001 is dead";
    }
}
